Remove legacy telemetry scalar APIs
Categories
(Toolkit :: Telemetry, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
(Whiteboard: [fog-migration])
Attachments
(3 files)
Legacy telemetry scalars are now all using the Glean APIs with GIFFT mirrors (bug 1923028, bug 1927093).
The last few callers of the scalar APIs are being removed (bug 1930196, bug 1715258).
After that the remaining use of scalar is either GIFFT or tests. We can make these use the functions declared in TelemetryScalar.h directly instead of exposing an API in nsITelemetry/Telemetry.h.
setMaximum can also be completely removed.
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Comment 1•7 months ago
|
||
Assignee | ||
Comment 2•7 months ago
|
||
Depends on D229364
Assignee | ||
Comment 3•6 months ago
|
||
Depends on D229365
Comment 5•6 months ago
|
||
Backed out for causing build bustages in TelemetryScalar.cpp.
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/toolkit/components/telemetry/core/TelemetryScalar.cpp:832:14: error: '{anonymous}::ScalarResult {anonymous}::KeyedScalar::AddValue(const StaticMutexAutoLock&, const nsAString&, nsIVariant*)' defined but not used [-Werror=unused-function]
Assignee | ||
Comment 6•6 months ago
|
||
(In reply to Serban Stanca [:SerbanS] from comment #5)
Backed out for causing build bustages in TelemetryScalar.cpp.
KeyedScalar::AddValue(const StaticMutexAutoLock&, const nsAString&, nsIVariant*)' defined but not used [-Werror=unused-function]
It's unfortunate that this wasn't caught on try, but it's a good catch, gives me an opportunity to remove an extra 111 lines of code we no longer need.
Comment 8•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/26eab75bf7ee
https://hg.mozilla.org/mozilla-central/rev/b4112ad17888
Comment 10•6 months ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Updated•4 months ago
|
Updated•4 months ago
|
Description
•